﻿using System.ComponentModel.DataAnnotations;


namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     Users
    /// Author:         Qiaonan Su 
    /// Creation Date:  2011-12-29
    /// Description:   用户（编号、用户名、密码、角色、备注） 
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    [Table("Users")]
    public class Users
    {
        [Key]
        public int ID { get; set; }

        [Required]
        public string UserName { get; set; }

        [Required]
        public string Password { get; set; }

        [StringLength(200)]
        public string Remark { get; set; }
    }
}
